package com.music.entity;

import java.util.Date;

/**
 * 唱片
 * 
 * @author Administrator
 *
 */
public class Album {
	/**
	 * id
	 */
	private int id;
	/**
	 * 作者
	 */
	private String artist;
	/**
	 * 歌名
	 */
	private String title;
	/**
	 * 价格
	 */
	private double price;
	/**
	 * 库存
	 */
	private int stock;
	/**
	 * 发行时间
	 */
	private Date dateRelease;
	/**
	 * 简介
	 */
	private String description;
	/**
	 * 分类
	 */
	private Genre genre;


	public Album(int id, String artist, String title, double price, int stock,
			Date dateRelease, String description, Genre genre) {
		super();
		this.id = id;
		this.artist = artist;
		this.title = title;
		this.price = price;
		this.stock = stock;
		this.dateRelease = dateRelease;
		this.description = description;
		this.genre = genre;
	}

	public Album() {
		super();
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getArtist() {
		return artist;
	}

	public void setArtist(String artist) {
		this.artist = artist;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public double getPrice() {
		return price;
	}

	public void setPrice(double price) {
		this.price = price;
	}

	public int getStock() {
		return stock;
	}

	public void setStock(int stock) {
		this.stock = stock;
	}

	public Date getDateRelease() {
		return dateRelease;
	}

	public void setDateRelease(Date dateRelease) {
		this.dateRelease = dateRelease;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Genre getGenre() {
		return genre;
	}

	public void setGenre(Genre genre) {
		this.genre = genre;
	}

	
	
}
